package com.wze.wze.Impl;

import com.wze.wze.Entity.ActivityTab;
import com.wze.wze.Entity.UserTab;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ActivityTabImpl {
    ActivityTab getActivityById(int id) ;//根据Id获取用户
    List<ActivityTab> getActivityList(int Start, int Page, int id, String Title);//分页查询所有用户
    int upActivity(@Param("activityTab") ActivityTab activityTab);//修改
    int delActivityById(int id);//根据id删除用户
    int addActivity(String Title,String Image,String Context);//添加用户
}
